<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link type="text/css" rel="stylesheet" href="{$TS_APP[tpl][skin]}{$skin}/style.css" id="skin" />
<script src="data/js/jquery.js" type="text/javascript"></script>
<script src="data/js/uploadify/jquery.uploadify.v2.1.4.js" type="text/javascript"></script>

<script src="data/js/uploadify/swfobject.js" type="text/javascript"></script>

<link type="text/css" rel="stylesheet" href="data/js/uploadify/uploadify.css" />

<script type="text/javascript">
$(document).ready(function()
{
	$("#uploadify").uploadify({
		'uploader': 'data/js/uploadify/uploadify.swf',
		'script': 'index.php',
		'scriptData':{'app':'photo','ac':'ajax','ts':'flash_add_do','userid':'{$TS_USER[user][userid]}'},
		'method':'GET', 
		'cancelImg': 'data/js/uploadify/cancel.png',
		'folder': 'UploadFile',
		'queueID': 'fileQueue',
		'auto': false,
		'multi': true,
		'fileDesc':'jpg,gif,png图片格式',
		'fileExt':'*.jpg;*.gif;*.png',
	});

})
</script>

</head>
<body>

<div style="padding:0 10px;">

<div class="tabMenu">
<ul>
<li><a href="index.php?app=photo&ac=ajax&ts=photo_add">普通上传</a></li>
<li class="select"><a href="index.php?app=photo&ac=ajax&ts=flash_add">Flash上传</a></li>
<li><a href="index.php?app=photo&ac=ajax&ts=photo_my">我的照片</a></li>
<li><a href="index.php?app=group&ac=editor&ts=img">网络图片</a></li>
</ul>
</div>

<p>上传文件只支持：jpg，gif，png格式；上传最大支持1M的图片</p>

<div id="fileQueue"></div>
    <input type="file" id="uploadify" />
    <p>
      <a href="javascript:$('#uploadify').uploadifyUpload()">上传</a>| 
      <a href="javascript:$('#uploadify').uploadifyClearQueue()">取消上传</a>
    </p>


</div>

</body>
</html>